Optimal. Leaf size=46 \[ \frac{(a+b) \sinh ^3(c+d x)}{3 d}+\frac{a \sinh (c+d x)}{d}+\frac{b \sinh ^5(c+d x)}{5 d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0416845, antiderivative size = 46, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.095, Rules used = {3190, 373} \[ \frac{(a+b) \sinh ^3(c+d x)}{3 d}+\frac{a \sinh (c+d x)}{d}+\frac{b \sinh ^5(c+d x)}{5 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3190
Rule 373
Rubi steps
\begin{align*} \int \cosh ^3(c+d x) \left (a+b \sinh ^2(c+d x)\right ) \, dx &=\frac{\operatorname{Subst}\left (\int \left (1+x^2\right ) \left (a+b x^2\right ) \, dx,x,\sinh (c+d x)\right )}{d}\\ &=\frac{\operatorname{Subst}\left (\int \left (a+(a+b) x^2+b x^4\right ) \, dx,x,\sinh (c+d x)\right )}{d}\\ &=\frac{a \sinh (c+d x)}{d}+\frac{(a+b) \sinh ^3(c+d x)}{3 d}+\frac{b \sinh ^5(c+d x)}{5 d}\\ \end{align*}
Mathematica [A] time = 0.139109, size = 48, normalized size = 1.04 \[ \frac{\sinh (c+d x) (4 (5 a+2 b) \cosh (2 (c+d x))+100 a+3 b \cosh (4 (c+d x))-11 b)}{120 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.053, size = 65, normalized size = 1.4 \begin{align*}{\frac{1}{d} \left ( b \left ({\frac{\sinh \left ( dx+c \right ) \left ( \cosh \left ( dx+c \right ) \right ) ^{4}}{5}}-{\frac{\sinh \left ( dx+c \right ) }{5} \left ({\frac{2}{3}}+{\frac{ \left ( \cosh \left ( dx+c \right ) \right ) ^{2}}{3}} \right ) } \right ) +a \left ({\frac{2}{3}}+{\frac{ \left ( \cosh \left ( dx+c \right ) \right ) ^{2}}{3}} \right ) \sinh \left ( dx+c \right ) \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.01288, size = 184, normalized size = 4. \begin{align*} \frac{1}{480} \, b{\left (\frac{{\left (5 \, e^{\left (-2 \, d x - 2 \, c\right )} - 30 \, e^{\left (-4 \, d x - 4 \, c\right )} + 3\right )} e^{\left (5 \, d x + 5 \, c\right )}}{d} + \frac{30 \, e^{\left (-d x - c\right )} - 5 \, e^{\left (-3 \, d x - 3 \, c\right )} - 3 \, e^{\left (-5 \, d x - 5 \, c\right )}}{d}\right )} + \frac{1}{24} \, a{\left (\frac{e^{\left (3 \, d x + 3 \, c\right )}}{d} + \frac{9 \, e^{\left (d x + c\right )}}{d} - \frac{9 \, e^{\left (-d x - c\right )}}{d} - \frac{e^{\left (-3 \, d x - 3 \, c\right )}}{d}\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.48221, size = 220, normalized size = 4.78 \begin{align*} \frac{3 \, b \sinh \left (d x + c\right )^{5} + 5 \,{\left (6 \, b \cosh \left (d x + c\right )^{2} + 4 \, a + b\right )} \sinh \left (d x + c\right )^{3} + 15 \,{\left (b \cosh \left (d x + c\right )^{4} +{\left (4 \, a + b\right )} \cosh \left (d x + c\right )^{2} + 12 \, a - 2 \, b\right )} \sinh \left (d x + c\right )}{240 \, d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 2.04711, size = 85, normalized size = 1.85 \begin{align*} \begin{cases} - \frac{2 a \sinh ^{3}{\left (c + d x \right )}}{3 d} + \frac{a \sinh{\left (c + d x \right )} \cosh ^{2}{\left (c + d x \right )}}{d} - \frac{2 b \sinh ^{5}{\left (c + d x \right )}}{15 d} + \frac{b \sinh ^{3}{\left (c + d x \right )} \cosh ^{2}{\left (c + d x \right )}}{3 d} & \text{for}\: d \neq 0 \\x \left (a + b \sinh ^{2}{\left (c \right )}\right ) \cosh ^{3}{\left (c \right )} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.17355, size = 166, normalized size = 3.61 \begin{align*} \frac{3 \, b e^{\left (5 \, d x + 5 \, c\right )} + 20 \, a e^{\left (3 \, d x + 3 \, c\right )} + 5 \, b e^{\left (3 \, d x + 3 \, c\right )} + 180 \, a e^{\left (d x + c\right )} - 30 \, b e^{\left (d x + c\right )} -{\left (180 \, a e^{\left (4 \, d x + 4 \, c\right )} - 30 \, b e^{\left (4 \, d x + 4 \, c\right )} + 20 \, a e^{\left (2 \, d x + 2 \, c\right )} + 5 \, b e^{\left (2 \, d x + 2 \, c\right )} + 3 \, b\right )} e^{\left (-5 \, d x - 5 \, c\right )}}{480 \, d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]